package com.rental.user.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.rental.model.entity.user.UserInfo;
import org.apache.ibatis.annotations.Select;

public interface UserInfoMapper extends BaseMapper<UserInfo> {
    @Select("select count(id) from user_info where is_banned = 1 AND is_delete = 0")
    Long countBannedUser();
}
